package com.lxz.ob_hore.heros;

import com.lxz.ob_hore.talentskills.ITalentSkill;

public abstract class IHero {
    protected String heroName;

    public ITalentSkill getTalentSkill() {
        return talentSkill;
    }

    public void setTalentSkill(ITalentSkill talentSkill) {
        this.talentSkill = talentSkill;
    }

    ITalentSkill talentSkill;

    public String getHeroName() {
        return heroName;
    }

    public void setHeroName(String heroName) {
        this.heroName = heroName;
    }

    String  iPassiveSkillName ;

    public String getiPassiveSkillName() {
        return iPassiveSkillName;
    }

    public void setiPassiveSkillName(String iPassiveSkillName) {
        this.iPassiveSkillName = iPassiveSkillName;
    }
    public void oneSkill(){
        System.out.println(heroName + " one skill");
    }
    public void twoSkill(){
        System.out.println(heroName + " two skill");
    }
    public void threeSkill(){
        System.out.println(heroName + " three skill");
    }

    public void passiveSkill(){
        System.out.println(heroName + " passive skill");
    }

    public void talentSkill(){
        System.out.println(heroName + " talent skill");
    }

}
